package com.icitic.springsecurity.service;

import org.springframework.security.access.annotation.Secured;

public interface HelloService {
	
	@Secured({ "ROLE_USER", "ROLE_ADMIN" })
	public abstract String sayHello(String username);
	
	@Secured({ "ROLE_ADMIN" })
	public abstract String sayBye(String username);

}
